<table class='gridtable' width=100%><tr>
			<th>7. No.</th>
			<th colspan=2>8. Banyaknya</th>
			<th>9. Uraian</th>
			<th>10. Keterangan & Perincian.</th>
			<th>11. Harga Satuan.</th>
			<th>12. Jumlah.</th>
		</tr>
		<?php
			$i = 0;
			$a = 0;
			
			$order = "center>".$i;
			$total = 0;
			$row = count($data_table);
			$j = 1;
			foreach($data_table as $tb){
				if ($tb->depth == 0){
					$i ++;
					$a = 0;
					$order = "center>".$i;
				}else{
					if ($a == 0 ){
						$c = 'a';
					}else{
						$c++;
					}
					$a++;
					$order = "right>".$c;
				}
		?>
				<tr valign=top>
				<td align=<?php echo $order ; ?></td>
				<td align=right><?php echo number_format($tb->kompdet_vol,0,',','.'); ?></td>
				<td ><?php echo $tb->unit_name; ?></td>
				<td><?php echo $tb->jobdet_name; ?></td>
				<?php
				if (($jenis == 'Umum')){
					if ($j == 1){
				?> 
					<td rowspan=<?php echo $row; ?> ><?php echo $spek; ?></td>
				<?php	$j++;
					}
				}else{
				?>
					 <td ><?php echo $spek[$tb->kompdet_id]; ?></td>;
				<?php
				} 
				?>
				<td align=right><?php echo number_format($tb->kompdet_price,2,',','.'); ?></td>
				<td align=right><?php echo number_format($tb->kompdet_price * $tb->kompdet_vol,2,',','.'); ?></td></tr>
				<?php
				$total = $total + ($tb->kompdet_price * $tb->kompdet_vol) ;
			} 
			?>
				<tr>
			<td colspan=6>Sub total<br></td>
			<td align=right>
			<?php echo	number_format($total,2,',','.');
				$ppn = $total * ( 10 / 100);
			?>
		</td>
		</tr>
		<tr>
			<td colspan=6>PPN 10%</td>
			<td align=right>
			<?php echo number_format($ppn,2,',','.'); 
				$total = $total + $ppn;
			?>
		</td>
		</tr>
		<tr>
			<td colspan=6>Total NK<br>Pembulatan</td>
			<td align=right>
			<?php echo number_format($total,2,',','.'); 		?>
		<br><b>
			<?php echo number_format(round($total,-3),2,',','.'); 	?>
				</b></td>
		</tr>
		<tr>
			<td colspan=7>Terbilang : 
		<?php echo ucfirst( $this->m_public_function->terbilang(round($total,-3))); 	?>	
		
		 rupiah<br></td>
		</tr>
	</table>